package com.topxgun.inventory.entity.products;

import java.io.Serializable;
import java.util.Date;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 *
 * @ClassName: ProductsEntity
 * @Description: TODO(入库数据实体类)
 * @author zhaiey
 * @date 2018年5月22日 下午4:45:04
 *
 */
@Document(collection="products")
public class ProductsEntity implements Serializable{

	/**
	 * @Fields serialVersionUID : TODO(序列值)
	 */
	private static final long serialVersionUID = 7968441828997105289L;

	@Id
	private String _id;

	private Date updated;

	private Date created;

	//条形码
	private String barcode;

	//飞控ID
	private String boomid;

	//录入设备ID
	private String deviceid;

	private Boolean faked;

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public String getBoomid() {
		return boomid;
	}

	public void setBoomid(String boomid) {
		this.boomid = boomid;
	}

	public String getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}

	public Boolean getFaked() {
		return faked;
	}

	public void setFaked(Boolean faked) {
		this.faked = faked;
	}
}
